package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_PROBLEM")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblProblemEntity {
	
	@TableId(value = "problemid", type= IdType.AUTO)
	@ApiModelProperty(value="")
	private BigDecimal problemid;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String probname;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String probdescribe;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String bussinessbelongsto;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String riskbelongsto;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String probfrom;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String discoveryperson;
	
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Date discovertime;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Date occuringtime;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String proborgs;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String needreform;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String memo;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String explainitem;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String personincharge;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String probnumber;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private String problembysystem;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Set tblWorksheets;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Set tblAttachments;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Set tblReforms;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Set<TblAssessTarget> tblproblemTargets;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Integer inProblemdb;
	
	@TableField(value = "formName")
	@ApiModelProperty(value="")
	private Integer probepartment;
	
}
